package com.gxar.quick.ar.server.base.common.enums.order;

/**
 * @author nice
 * @version 1.0
 * @created 2023/11/16.
 */
public enum OrderMethodEnum {

    BUY(0, "Buy", "购买"),
    RENEWAL(1, "Renewal", "续费"),
    UPGRADE(2, "Upgrade", "升级"),
    EXCHANGE(3, "Exchange", "兑换"),
    MARKET_BUT(4, "MarketBuy","AR集市购买"),
    HANDSEL(5, "Handsel", "赠送"),
    TRANSFER(6, "Transfer", "转赠"),
    OTHERS_HANDSEL(7, "OTHERS_HANDSEL", "他人赠送"),
    OTHERS_TRANSFER(8, "OTHERS_TRANSFER", "他人转赠"),
    ;

    private final Integer code;
    private final String name;
    private final String desc;

    OrderMethodEnum(Integer code, String name, String desc) {
        this.code = code;
        this.name = name;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public String getDesc() {
        return desc;
    }
}
